import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

const state = {
  latitude: "", //维度
  longitude: "", //经度
  chartList: {}, //加入购物车的商品列表
  shopDetail: null, //商家详细信息
  userInfo: null //用户信息
};

export default new Vue.Store({
  state,
  getters,
  actions,
  mutations
});
